package com.blue.service.author;

import com.blue.dto.author.UserDTO;
import com.blue.vo.author.UserVO;
import jakarta.servlet.http.HttpServletRequest;

import java.util.Map;

public interface ILoginService {
    //生成验证码
    Map<String, Object> captchaImage();

    //系统登录
    UserVO login(UserDTO requestDTO, HttpServletRequest request) throws Exception;

    //获取Token
    UserVO getToken(UserDTO requestDTO, HttpServletRequest request) throws Exception;
}
